package com.sky.mapper;

import com.sky.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface StudentMapper {

    int insert(Student student);

    int deleteById(Long id);

    List<Student> selectByIds(@Param("ids") List<Long> ids,@Param("tableName") String tableName);

    Long getMaxId();
}
